package com.apes.fn.scm.crossCompany.transfer.repository;

import com.apes.fn.scm.crossCompany.transfer.model.PrintRecord;
import com.apes.fn.scm.crossCompany.transfer.model.TransferBatch;
import com.apes.framework.jpa.repository.CustomRepository;
import org.springframework.data.jpa.repository.Query;
import org.springframework.data.repository.query.Param;

import java.util.List;


public interface PrintRecordRepository extends CustomRepository<PrintRecord, String> {
//    @Query(value = "select t from PrintRecord t where t.source = :sourceId")
    PrintRecord findBySource(@Param("sourceId") String source);
}
